CC=gcc
CFLAGS=-Wall -g -O0
LDFLAGS=-lrt -lconfig

unit_test: unit_test.o unit.o config.o topo.o conn.o core.o execute.o task.o
	$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $<
all: unit_test
.PHONY: unit_test
.PHONY: clean
clean:
	rm -f unit_test *.o unit_test.dSYM
 